import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import commonJs from "@/tool/common";
import $crypto from "@/tool/crypto";
import {
  Button,
  Upload,
  Form,
  Input,
} from "ant-design-vue";
import ElementUI from 'element-ui';
import ajax from "./api/http";
import * as api from "./api/apiConfig";
import 'vant/lib/index.less';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(Button);
Vue.use(Upload);
Vue.use(ElementUI);
Vue.use(Form);
Vue.use(Input);
Vue.config.productionTip = false
Vue.prototype.$commonJs = commonJs;
Vue.prototype.$crypto = $crypto;
Vue.prototype.$ajax = ajax;
Vue.prototype.$api = api;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
